<?php

	//
    Route::group(['namespace' => 'Admin','prefix' => 'admin'],function(){
    	
    	Route::get('index', 'IndexController@index');	
    	
    	//用户相关路由
    	Route::resource('user','UserController');

        //栏目相关路由
        Route::resource('cat','CatController');

        //管理员登陆相关路由
        Route::get('login','ControlController@getLogin');
        Route::post('login','ControlController@postLogin');
        Route::get('logout','ControlController@getLogout');

        //管理员用户相关路由
        Route::resource('control_list','Control_ListController');
    });
    


